home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2007 January
/
PCWorld_2007-01_cd.bin
/
v cisle
/
autoit
/
autoit-v3.2.0.1-setup.exe
/
Examples
/
Helpfile
/
Mod.au3
< prev
next >
Wrap
Text File
|
2006-06-17
|
255b
|
11 lines
$n = 18
If mod($n, 2) = 0 Then
MsgBox(0,"", $n & " is an even number.")
Else
MsgBox(0, "", $n & " is an odd number.")
EndIf
$x = mod(4, 7) ;$x == 4 because the divisor > dividend
$y = mod(1, 3/4) ;$y == 0.25 because the divisor is a float